package com.yunxi.model.sat;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 客户线索
 * </p>
 *
 * @author caoYong
 * @since 2019-07-10
 */
@Data
@TableName("pms_sat_customer_clue")
@ApiModel(value="SatCustomerClue对象", description="客户线索")
public class SatCustomerClue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "CLUE_ID", type = IdType.UUID)
    private String clueId;

    @ApiModelProperty(value = "线索编号")
    @TableField("CLUE_NO")
    private String clueNo;

    @ApiModelProperty(value = "线索类型 1潜客2试驾3订单")
    @TableField("CLUE_TYPE")
    private String clueType;

    @ApiModelProperty(value = "渠道编号")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "客户ID")
    @TableField("CUSTOMER_NO")
    private String customerNo;

    @ApiModelProperty(value = "客户姓名")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "15位码")
    @TableField("VEHICLE_CODE")
    private String vehicleCode;

    @ApiModelProperty(value = "内饰颜色代码")
    @TableField("COLOR_IN_CODE")
    private String colorInCode;

    @ApiModelProperty(value = "内饰颜色名称")
    @TableField("COLOR_IN_NAME")
    private String colorInName;

    @ApiModelProperty(value = "外饰颜色代码")
    @TableField("COLOR_OUT_CODE")
    private String colorOutCode;

    @ApiModelProperty(value = "外饰颜色名称")
    @TableField("COLOR_OUT_NAME")
    private String colorOutName;

    @ApiModelProperty(value = "手机号")
    @TableField("TEL")
    private String tel;

    @ApiModelProperty(value = "获取时间")
    @TableField("GET_DATE")
    private Date getDate;

    @ApiModelProperty(value = "线索状态(Clue_GetStatus,0未领取,1已领取,2超时)")
    @TableField("IS_GET")
    private Integer isGet;

    @ApiModelProperty(value = "领取人")
    @TableField("GET_USER")
    private String getUser;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "分配人")
    @TableField("ASSIGN_USER")
    private String assignUser;

    @ApiModelProperty(value = "省")
    @TableField("PROVINCE")
    private String province;

    @ApiModelProperty(value = "市")
    @TableField("CITY")
    private String city;

    @ApiModelProperty(value = "县")
    @TableField("REGION")
    private String region;

    @ApiModelProperty(value = "是否自己领取")
    @TableField("IS_SELF")
    private Integer isSelf;

    @ApiModelProperty(value = "线索来源")
    @TableField("CLUE_SOURCE")
    private String clueSource;

    @ApiModelProperty(value = "ITMC录入方式")
    @TableField("ITMC_COME_WAY")
    private String itmcComeWay;

    @ApiModelProperty(value = "来电时间")
    @TableField("ITMC_IN_DATE")
    private String itmcInDate;

    @ApiModelProperty(value = "去电时间")
    @TableField("ITMC_OUT_DATE")
    private String itmcOutDate;

    @ApiModelProperty(value = "ITMC顾问")
    @TableField("ITMC_ADVISER_CODE")
    private String itmcAdviserCode;

    @ApiModelProperty(value = "展厅销售顾问")
    @TableField("SALE_ADVISER_CODE")
    private String salAdviserCode;

    @ApiModelProperty(value = "性别")
    @TableField("SEX")
    private String sex;

    @ApiModelProperty(value = "车系")
    @TableField("SERIES")
    private String series;

    @ApiModelProperty(value = "车型")
    @TableField("INTENT_MODEL")
    private String intentModel;

    @ApiModelProperty(value = "获取信息途径")
    @TableField("GET_INFO_WAY")
    private String getInfoWay;

    @ApiModelProperty(value = "意向级别")
    @TableField("LEVEL")
    private String level;

    @ApiModelProperty(value = "是否创建客户0未创建1已创建")
    private Integer isCreatedCust;

    @ApiModelProperty(value = "分配线索的大区经理")
    @TableField("BIG_REGION_MANAGER")
    private String bigRegionManager;

    @ApiModelProperty(value = "分配时间")
    @TableField("ASSIGN_DATE")
    private Date assignDate;

    @ApiModelProperty(value = "是否提醒(1是,0否)")
    @TableField("IS_REMIND")
    private Integer isRemind;

    @ApiModelProperty(value = "业务编号")
    @TableField("BUSINESS_KEY")
    private String businessKey;

    @ApiModelProperty(value = "是否提醒小区经理(1是,0否)")
    @TableField("IS_REMIND_MANAGER")
    private Integer isRemindManager;

    @ApiModelProperty(value = "用户一级来源")
    @TableField("USERSOURCE_1")
    private Integer userSource1;

    @ApiModelProperty(value = "用户二级来源")
    @TableField("USERSOURCE_2")
    private Integer userSource2;

    @ApiModelProperty(value = "用户三级来源")
    @TableField("USERSOURCE_3")
    private String userSource3;

}
